<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>xzt1</title>
    <link rel="stylesheet" href="../../css/comment.css">
    <link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css">
    <link rel="stylesheet" href="../../js/拍照上传/style.css">
</head>
<style>
    .upload-file {
     position: relative;
  	background: url('../../images/z_add.png') no-repeat 50%/100% 100%;
  	/* width: 100px; */
  	height: 120px;
  	order: 9;
  }
</style>
<body>
    <div class="search-content">
        <div><a href="javaScript:history.back(-1)" class="classify"></a></div>
        <div class="wen"> 问而知</div>
        <div class="kong"></div>
    </div>
    

    <!-- 内容模块 -->
    <div class="w">
        <div class="picture">
            <img src="../../images/大题1.jpg" alt="">
        </div>
        <section class="upload-section">
            <article class="upload-article-text">
              <textarea oninput="autoTextarea(this)" placeholder="描述" class="upload-textarea"></textarea>
            </article>
            <article class="upload-piclist">
               <div class="upload-file">
                   <input type="file" id="file" accept="image/*" multiple onchange="imgChange()"/>
               </div>
            </article>
        <div class="but">上传</div>
    </div>
    
 <script src="../../js/flexible.js"></script>
 <script src="../../js/拍照上传/index.js"></script>
 <script>
     var bt = document.querySelector('.but');
     bt.addEventListener('click',function() {
         alert('上传成功!')
     })
 </script>
    
</body>
</html>